package spring.angularjs.services;

import java.util.List;

import spring.angularjs.domain.Addressbook;
import spring.angularjs.domain.Todo;

public interface Services {

	public List<Todo> getListTodo();
	
	public Todo getTodo(int id);
	
	public void addTodo(Todo todo);
	
	public void deleteTodo(Todo todo);
	
	public void deleteAllTodo();
	
	public void updateTodo(Todo todo);
	
	public void addAddressBook(Addressbook ab);
	
	public void deleteAllAddressBook();
	
	public void deleteAddressBook(Addressbook ab);
	
	public List<Addressbook> getListAddressbook();
	
	public Addressbook getAddressbook(int idab);
	
	public void updateAddressbook(Addressbook ab);
}
